/**
* All Rights Reserved , Copyright (C) 2021 , 青岛鼎信通讯股份有限公司
*
* ISdWfFormService
* SD项目审批流表
*
* 修改纪录
* 2021-11-30 版本：1.0 jiangtao 创建。
* @version 版本：1.0
* @author 作者：jiangtao
* 创建日期：2021-11-30
*/

package com.topscomm.gpm.service;

import com.topscomm.basic.BasicEntity;
import com.topscomm.gpm.IGpmService;
import com.topscomm.gpm.pojo.GpmWfFormEntity;
import com.topscomm.gpm.dao.IGpmWfFormDao;
import com.topscomm.tap.common.SessionUserBean;

public interface IGpmWfFormService extends IGpmService<GpmWfFormEntity, IGpmWfFormDao> {
	/***
	 * @description: SD审批流程实体生成
	 * @param sourcetype
	 * @param entity
	 * @param approvaltype
	 * @return
	 * @author: jiangtao1
	 * @date: 2021/11/30 9:25
	 * @modify:
	 */
	GpmWfFormEntity generateWfFormEntity(String sourcetype, BasicEntity entity, String approvaltype);

	/***
	 * @description: 审批流程选择
	 * @param flowtype
	 * @param businessCode
	 * @param sessionUserBean
	 * @return
	 * @author: jiangtao1
	 * @date: 2021/11/30 9:27
	 * @modify:
	 */
	 long queryFlowid(String flowtype, String businessCode, SessionUserBean sessionUserBean);

	 /**
	  * @description: 变更退回修改节点审批通过
	  * @param id
	  * @return void
	  * @author: wangxinhua
	  * @date: 2021/12/13 14:41
	  * @modify:
	  */
	  void changeEditNodePass(String id);
}
